package com.netty.rpc.server.service;

import com.netty.rpc.server.annotation.Component;

@Component
public class DefaultHelloServiceImpl implements HelloService {
    @Override
    public String sayHello(String name, Double age) {
        return String.format("%s岁的%s，您好，欢迎使用rpc",age,name);
    }
}
